# -------------------------------------------------
# Project created by QtCreator 2016-07-11T16:08:11
# -------------------------------------------------
QT += core \
    gui \
    webkit
QT += xml
TARGET = Db_Cfg
TEMPLATE = app
QT += network
win32-msvc*:DEFINES += _CRT_SECURE_NO_WARNINGS
DESTDIR = ../../bin/win
INCLUDEPATH += ../comm/db_h
LIBS += -L../../bin/win
SOURCES += main.cpp \
    mymainwindow.cpp \
    db_cfg_g_def.cpp \
    mytreewidget.cpp \
    mytablewidget.cpp \
    mytableitemdelegate.cpp \
    DbCfgFun.cpp \
    MenuInfo.cpp \
    mytabledata.cpp \
    DBText.cpp \
    SetColValDlg.cpp \
    CheckComboBox.cpp \
    GetColumnInfo.cpp \
    relatedlg.cpp \
    transdlg.cpp \
    InsertDevModeDlg.cpp \
    MyFileOper.cpp \
    DeviceDlg.cpp \
    SaveDevToModelFile.cpp \
    SaveDevToModelDlg.cpp \
    ExpEditDlg.cpp \
    PropertyView.cpp \
    PropDelegate.cpp \ # deviceParamdlg.cpp \
    ExportParamDbdlg.cpp \ # SaveTerminalToModelDlg.cpp \
    ExportXmlDlg.cpp \
    selectio.cpp \
    LogicNodeDlg.cpp \
    IcdRelatedlg.cpp \
    GenerateTotalSort.cpp
HEADERS += mymainwindow.h \
    ../comm/db_h/Db_Cfg_Table_Define.h \
    db_cfg_g_def.h \
    mytreewidget.h \
    mytablewidget.h \
    mytableitemdelegate.h \
    DbCfgFun.h \
    DBConfig_Include.h \
    MenuInfo.h \
    mytabledata.h \
    DBText.h \
    SetColValDlg.h \
    CheckComboBox.h \
    GetColumnInfo.h \
    relatedlg.h \
    transdlg.h \
    InsertDevModeDlg.h \
    MyFileOper.h \
    DeviceDlg.h \
    SaveDevToModelFile.h \
    SaveDevToModelDlg.h \
    ExpEditDlg.h \
    ../comm/db_h/TABLEDEFINE.h \
    PropertyView.h \
    PropDelegate.h \ # deviceParamdlg.h \
    ExportParamDbdlg.h \ # SaveTerminalToModelDlg.h\
    ExportXmlDlg.h \
    selectio.h \
    LogicNodeDlg.h \
    IcdRelatedlg.h \
    GenerateTotalSort.h
FORMS += mymainwindow.ui \
    SetColValDlg.ui \
    relatedlg.ui \
    transdlg.ui \
    InsertDevModeDlg.ui \
    devicedlg.ui \
    SaveDevToModelFile.ui \
    SaveDevToModelDlg.ui \
    ExpEditDlg.ui \ # deviceParamdlg.ui \
    ExportParamDbdlg.ui \ # SaveTerminalToModelDlg.ui \
    ExportXmlDlg.ui \
    selectio.ui \
    LogicNodeDlg.ui \
    IcdRelatedlg.ui \
    GenerateTotalSort.ui
LIBS += -lSqLiteDB
RESOURCES += Db_Cfg.qrc
HEADERS += ../comm/qtsingleapplication/qtlocalpeer.h \
    ../comm/qtsingleapplication/qtsingleapplication.h \
    ../comm/qtsingleapplication/qtsinglecoreapplication.h \
    ../comm/qtsingleapplication/qtlockedfile.h
SOURCES += ../comm/qtsingleapplication/qtlocalpeer.cpp \
    ../comm/qtsingleapplication/qtsingleapplication.cpp \
    ../comm/qtsingleapplication/qtsinglecoreapplication.cpp \
    ../comm/qtsingleapplication/qtlockedfile.cpp
win32:SOURCES += ../comm/qtsingleapplication/qtlockedfile_win.cpp
else:SOURCES += ../comm/qtsingleapplication/qtlockedfile_unix.cpp
INCLUDEPATH += ../comm/qtsingleapplication
